package com.tiza.xiaoyoubao.net;

import java.util.List;
import java.util.Map;

/**
 * Created by mapple on 17/2/13.
 */

public class ResponseInfo<T> {
    private int code = 0;

    private String message = "";

    private Map<String,Object> firstEntity;

    private List<T> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Map<String, Object> getFirstEntity() {
        return firstEntity;
    }

    public void setFirstEntity(Map<String, Object> prmFirstEntity) {
        firstEntity = prmFirstEntity;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
